package com.ruoyi.service.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 项目结算单明细
 * </p>
 *
 * @author Zane
 * @since 2025-10-26
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_project_settle_detail")
public class ProjectSettleDetailEntity implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 主键
   */
  @TableId(value = "id", type = IdType.AUTO)
  private Long id;

  /**
   * 项目ID
   */
  @TableField("project_id")
  private String projectId;

  /**
   * 项目名称
   */
  @TableField("project_name")
  private String projectName;

  /**
   * 岗位名称
   */
  @TableField("post_name")
  private String postName;

  /**
   * 结算项目 0 平台扣点 1 员工工资 2 使用备用金
   */
  @TableField("settle_type")
  private String settleType;

  /**
   * 结算金额
   */
  @TableField("settle_amount")
  private BigDecimal settleAmount;

  /**
   * 目标ID
   */
  @TableField("target_id")
  private Long targetId;

  /**
   * 目标姓名
   */
  @TableField("target_name")
  private String targetName;

  /**
   * 目标电话
   */
  @TableField("target_phone")
  private String targetPhone;

  /**
   * 目标信息描述
   */
  @TableField("target_info")
  private String targetInfo;

  /**
   * 数据信息
   */
  @TableField("info_data")
  private String infoData;

  /**
   * 创建者
   */
  @TableField("create_by")
  private Long createBy;

  /**
   * 创建时间
   */
  @TableField("create_time")
  private LocalDateTime createTime;

  /**
   * 更新者
   */
  @TableField("update_by")
  private Long updateBy;

  /**
   * 更新时间
   */
  @TableField("update_time")
  private LocalDateTime updateTime;


}
